From: Wei Liu Date: Wed, 11 Mar 2015 16:48:36 +0000 (+0000) Subject: tools/firmware: fix OVMF clean and distclean X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3629 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=ae79d11ec93dc6a3c4bb63eac2a38c3800fbf3ce;p=xen.git tools/firmware: fix OVMF clean and distclean They should have used "-ovmf-dir" suffix instead of "-ovmf", as the directory in question is ovmf-dir. Signed-off-by: Wei Liu Cc: Anthony Perard Cc: Ian Campbell Cc: Ian Jackson Acked-by: Ian Campbell --- diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile index ca5df42e6a..6cc86cee6d 100644 --- a/tools/firmware/Makefile +++ b/tools/firmware/Makefile @@ -55,7 +55,7 @@ distclean: subdirs-distclean subdir-distclean-etherboot: .phony $(MAKE) -C etherboot distclean -subdir-distclean-ovmf: .phony +subdir-distclean-ovmf-dir: .phony rm -rf ovmf-dir ovmf-dir-remote subdir-distclean-seabios-dir: .phony @@ -70,7 +70,7 @@ ovmf-dir-force-update: ovmf-dir $(GIT) reset --hard $(OVMF_UPSTREAM_REVISION); \ fi -subdir-clean-ovmf: +subdir-clean-ovmf-dir: set -e; if test -d ovmf-dir/.; then \ $(MAKE) -C ovmf-dir clean; \ fi